<form method="POST">
	<table class="table_form">
		<tr {% if form.nome.errors %}class="linha_com_erro"{% endif %}>
			<th>Nome:</th>
			<td>{{form.nome}} {{form.nome.errors}}</td>
		</tr>
		<tr {% if form.permissoes.errors %}class="linha_com_erro"{% endif %}>
			<th>Permissões:</th>
			<td>{{form.permissoes}} {{form.permissoes.errors}}</td>
		</tr>
	
		<tr>
			<td colspan="2">{{ form.non_field_errors  }}</td>
		</tr>
	</table>
</form>
